package com.open.capacity.notice.dmo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 接收人明细
 * </p>
 * @since 2024-05-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("msg_receciver_detail")
public class MessageRececiverDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "接收组Id")
    private String receciverGroupId;

    @ApiModelProperty(value = "接收人归属信息")
    private String ownerId ;
    
    @NotBlank(message = "接收人不能为空")
    @ApiModelProperty(value = "接收人手机号/微信")
    private String receciver;
    
    @ApiModelProperty(value = "接收人名称")
    private String receciverName;


}
